package Song.Han.demo01;

import java.util.Objects;


//Objects.nonNull(Object obj); 判断是否为空
public class Demo03ObjectNonNull {
    public static void main(String[] args) {
        System.out.println(Objects.nonNull(null));
        System.out.println(Objects.nonNull(1));
    }
}
